package com.cskaoyan.mapper;

import com.cskaoyan.bean.MallOrderGoods;
import com.cskaoyan.bean.MallOrderGoodsExample;
import java.util.List;

import com.cskaoyan.model.vo.stat.StatGoodsInnerVO;
import com.cskaoyan.model.vo.stat.StatOrderInnerVO;
import com.cskaoyan.model.vo.wxorder.list.InnerGoods;
import org.apache.ibatis.annotations.Param;

public interface MallOrderGoodsMapper {
    long countByExample(MallOrderGoodsExample example);

    int deleteByExample(MallOrderGoodsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MallOrderGoods record);

    int insertSelective(MallOrderGoods record);

    List<MallOrderGoods> selectByExample(MallOrderGoodsExample example);

    MallOrderGoods selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MallOrderGoods record, @Param("example") MallOrderGoodsExample example);

    int updateByExample(@Param("record") MallOrderGoods record, @Param("example") MallOrderGoodsExample example);

    int updateByPrimaryKeySelective(MallOrderGoods record);

    int updateByPrimaryKey(MallOrderGoods record);

    List<StatOrderInnerVO> selectOrder();

    List<StatGoodsInnerVO> selectGoods();

    List<InnerGoods> selectById(int id);

    MallOrderGoods selectByOrderIdMallOrderGoods(Integer id);

    int updateComment(Integer id,Integer commentId);
}